<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>现代中文可视化网页设计</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            line-height: 1.8;
            color: #333;
        }
        .serif {
            font-family: 'Noto Serif SC', serif;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        .topic-item {
            transition: all 0.3s ease;
        }
        .topic-item:hover {
            transform: scale(1.05);
        }
        .drop-cap::first-letter {
            float: left;
            font-size: 3.5em;
            line-height: 0.8;
            margin: 0.1em 0.1em 0 0;
            color: #667eea;
            font-weight: 700;
        }
        .hover-underline {
            position: relative;
        }
        .hover-underline::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: #667eea;
            transition: width 0.3s ease;
        }
        .hover-underline:hover::after {
            width: 100%;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-24 px-6">
        <div class="container mx-auto max-w-5xl text-center">
            <h1 class="serif text-5xl md:text-6xl font-bold mb-6 animate-fade-in">探索中文之美</h1>
            <p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto leading-relaxed">五千年的文化积淀，现代设计的重新诠释</p>
            <div class="flex justify-center space-x-4">
                <a href="#content" class="bg-white text-indigo-700 hover:bg-gray-100 px-6 py-3 rounded-full font-medium transition-all duration-300 transform hover:scale-105">
                    <i class="fas fa-book-open mr-2"></i>开始阅读
                </a>
                <a href="#visualization" class="border-2 border-white text-white hover:bg-white hover:text-indigo-700 px-6 py-3 rounded-full font-medium transition-all duration-300 transform hover:scale-105">
                    <i class="fas fa-project-diagram mr-2"></i>数据可视化
                </a>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="container mx-auto max-w-5xl px-6 py-16">
        <!-- Article Section -->
        <section id="content" class="mb-20">
            <article class="prose prose-lg max-w-none">
                <div class="drop-cap mb-12">
                    <p class="text-gray-700">中华文化源远流长，博大精深。从甲骨文的刻痕到活字印刷的革命，从宣纸上的泼墨到数字屏幕的像素，中文的表达形式随着时代不断演变。在当今数字化时代，如何将传统中文之美与现代网页设计理念相结合，创造出既保留文化底蕴又符合当代审美的阅读体验，是设计师面临的重要课题。</p>
                </div>
                
                <div class="grid md:grid-cols-2 gap-8 mb-12">
                    <div class="bg-white p-8 rounded-xl shadow-md card-hover">
                        <div class="text-indigo-600 mb-4">
                            <i class="fas fa-pen-fancy text-4xl"></i>
                        </div>
                        <h3 class="text-2xl font-bold mb-4 text-gray-800">传统书法艺术</h3>
                        <p class="text-gray-600">中国书法是汉字特有的传统艺术，被誉为"无言的诗，无形的舞，无图的画，无声的乐"。现代设计中融入书法元素，能够为作品增添独特的文化韵味。</p>
                    </div>
                    <div class="bg-white p-8 rounded-xl shadow-md card-hover">
                        <div class="text-indigo-600 mb-4">
                            <i class="fas fa-mobile-alt text-4xl"></i>
                        </div>
                        <h3 class="text-2xl font-bold mb-4 text-gray-800">数字排版挑战</h3>
                        <p class="text-gray-600">汉字结构复杂，在数字设备上的显示需要特别考虑可读性、字体渲染和排版间距等问题。选择合适的字体和行间距至关重要。</p>
                    </div>
                </div>
                
                <h2 class="serif text-3xl md:text-4xl font-bold mb-6 text-gray-800 border-l-4 border-indigo-500 pl-4">中文排版的现代诠释</h2>
                
                <p class="text-gray-700 mb-6">现代中文排版已经发展出一套成熟的规范。正文通常使用12-16px大小的字体，行间距建议在1.5-2倍之间。标题与正文的层级关系可以通过字号、字重和颜色的变化来体现。</p>
                
                <blockquote class="border-l-4 border-indigo-500 pl-6 py-2 my-6 bg-gray-50 text-gray-600 italic">
                    "好的中文排版应该像一条清澈的小溪，让读者的目光自然地流淌其中，不被任何障碍所阻挡。"
                </blockquote>
                
                <p class="text-gray-700 mb-6">在色彩运用上，现代中文设计往往采用低饱和度的主色调，搭配高对比度的强调色。这种配色方案既保证了可读性，又营造出优雅的视觉效果。</p>
                
                <div class="bg-white p-6 rounded-lg shadow-inner border border-gray-100 mb-8">
                    <h3 class="text-xl font-bold mb-4 text-gray-800 flex items-center">
                        <i class="fas fa-lightbulb text-yellow-500 mr-2"></i>设计小贴士
                    </h3>
                    <ul class="text-gray-600 space-y-2">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-indigo-500 mr-2 mt-1"></i>
                            <span>中文标点符号应采用全角格式，确保视觉平衡</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-indigo-500 mr-2 mt-1"></i>
                            <span>避免在段落开头使用英文缩进，中文传统是首行空两格</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-indigo-500 mr-2 mt-1"></i>
                            <span>混合使用衬线体和无衬线体可以创造良好的视觉节奏</span>
                        </li>
                    </ul>
                </div>
            </article>
        </section>
        
        <!-- Visualization Section -->
        <section id="visualization" class="mb-20">
            <div class="flex items-center mb-8">
                <div class="flex-1 border-t border-gray-200"></div>
                <h2 class="serif text-3xl md:text-4xl font-bold px-4 text-center text-gray-800">
                    <i class="fas fa-project-diagram text-indigo-500 mr-2"></i>中文设计元素关系图
                </h2>
                <div class="flex-1 border-t border-gray-200"></div>
            </div>
            
            <div class="bg-white p-6 rounded-xl shadow-md mb-8">
                <div class="mermaid">
                    graph TD
                    A[中文设计] --> B[排版原则]
                    A --> C[色彩搭配]
                    A --> D[字体选择]
                    B --> B1[层级分明]
                    B --> B2[阅读流畅]
                    B --> B3[视觉平衡]
                    C --> C1[主色调]
                    C --> C2[强调色]
                    C --> C3[背景色]
                    D --> D1[衬线体]
                    D --> D2[无衬线体]
                    D --> D3[书法字体]
                    D1 --> D1a[传统印刷]
                    D2 --> D2a[数字屏幕]
                    D3 --> D3a[艺术表现]
                </div>
            </div>
            
            <div class="grid md:grid-cols-3 gap-6">
                <div class="bg-white p-6 rounded-xl shadow-md topic-item">
                    <div class="text-indigo-500 text-3xl mb-4">
                        <i class="fas fa-layer-group"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">视觉层次</h3>
                    <p class="text-gray-600">通过字号、颜色、间距等建立清晰的视觉层次结构，引导读者视线流动。</p>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-md topic-item">
                    <div class="text-indigo-500 text-3xl mb-4">
                        <i class="fas fa-palette"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">色彩情感</h3>
                    <p class="text-gray-600">不同色彩唤起不同情感反应，需根据内容主题选择恰当的配色方案。</p>
                </div>
                <div class="bg-white p-6 rounded-xl shadow-md topic-item">
                    <div class="text-indigo-500 text-3xl mb-4">
                        <i class="fas fa-font"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">字体个性</h3>
                    <p class="text-gray-600">字体选择直接影响阅读体验和内容调性，需谨慎匹配内容气质。</p>
                </div>
            </div>
        </section>
        
        <!-- Call to Action -->
        <section class="bg-indigo-50 rounded-xl p-8 md:p-12 text-center mb-20">
            <h2 class="serif text-3xl md:text-4xl font-bold mb-4 text-gray-800">探索更多中文设计之美</h2>
            <p class="text-gray-600 mb-8 max-w-2xl mx-auto">订阅我们的设计周刊，获取最新中文排版技巧、字体推荐和设计灵感。</p>
            <form class="max-w-md mx-auto flex">
                <input type="email" placeholder="您的电子邮箱" class="flex-1 px-4 py-3 rounded-l-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500">
                <button type="submit" class="bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-3 rounded-r-lg font-medium transition-colors duration-300">
                    订阅 <i class="fas fa-paper-plane ml-2"></i>
                </button>
            </form>
        </section>
    </main>
    
    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-12">
        <div class="container mx-auto max-w-5xl px-6">
            <div class="text-center">
                <h3 class="text-xl font-medium mb-2 text-white">技术小馆</h3>
                <p class="mb-6">探索技术与设计的完美融合</p>
                <a href="http://www.yuque.com/jtostring" class="text-indigo-400 hover:text-indigo-300 hover-underline transition-colors duration-300">
                    <i class="fas fa-external-link-alt mr-1"></i> www.yuque.com/jtostring
                </a>
                <div class="mt-8 pt-8 border-t border-gray-800 text-sm text-gray-500">
                    © 2023 技术小馆 保留所有权利
                </div>
            </div>
        </div>
    </footer>
    
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            },
            themeCSS: `
                .node rect {
                    fill: #fff;
                    stroke: #667eea;
                    stroke-width: 2px;
                    rx: 6;
                    ry: 6;
                }
                .node text {
                    font-family: 'Noto Sans SC', sans-serif;
                }
                .edgeLabel {
                    background-color: #fff;
                    font-family: 'Noto Sans SC', sans-serif;
                }
                .cluster rect {
                    fill: #f8fafc;
                    stroke: #cbd5e1;
                    rx: 6;
                    ry: 6;
                }
                .cluster text {
                    fill: #64748b;
                }
            `
        });
        
        // Simple animation for elements when they come into view
        const animateOnScroll = () => {
            const elements = document.querySelectorAll('.card-hover, .topic-item');
            const observer = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.style.opacity = 1;
                        entry.target.style.transform = 'translateY(0)';
                    }
                });
            }, { threshold: 0.1 });
            
            elements.forEach(el => {
                el.style.opacity = 0;
                el.style.transform = 'translateY(20px)';
                el.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
                observer.observe(el);
            });
        };
        
        document.addEventListener('DOMContentLoaded', () => {
            animateOnScroll();
            
            // Smooth scrolling for anchor links
            document.querySelectorAll('a[href^="#"]').forEach(anchor => {
                anchor.addEventListener('click', function (e) {
                    e.preventDefault();
                    document.querySelector(this.getAttribute('href')).scrollIntoView({
                        behavior: 'smooth'
                    });
                });
            });
        });
    </script>
</body>
</html>